<!-- <%@ page contentType="text/html;charset=UTF-8" language="java" %> -->

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title> 人事管理系统登录 </title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <!-- Font Awesome -->
<%--    静态资源不能放到WEB-INf文件夹下，否则会导致404！！！！！！！！！--%>
    <link rel="stylesheet" href="/css/all.min.css" />
    <!-- Ionicons -->
    <link
      rel="stylesheet"
      href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css"
    />
    <!-- icheck bootstrap -->

    <!-- Theme style -->
    <link rel="stylesheet" href="/css/adminlte.min.css" />
    <style>
      #mybody{
        background: url('/css/background.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
      }

    </style>
  </head>
  <body id="mybody" class="hold-transition login-page">
    <div class="login-box">
      <div class="login-logo">
        <a href="/login" style="color: #fff"><b style="color: #fff">人事管理</b>系统</a>
      </div>
      <!-- /.login-logo -->
      <div class="card">
        <div class="card-body login-card-body">
          <p class="login-box-msg">请登录管理员账号</p>

          <form action="/login" method="post">
            <div class="input-group mb-3">
              <input
                type="text"
                class="form-control"
                name="uname"
                placeholder="账户名"
              />
              <div class="input-group-append">
                <div class="input-group-text">
                  <span class="fas fa-envelope"></span>
                </div>
              </div>
            </div>
            <div class="input-group mb-3">
              <input
                type="password"
                class="form-control"
                name="pwd"
                placeholder="密码"
              />
              <div class="input-group-append">
                <div class="input-group-text">
                  <span class="fas fa-lock"></span>
                </div>
              </div>
            </div>
            <div class="row">
              <div class="col-8">
                <div>
                  <span>验证码:</span>
                  <input type="text" name="validCode" style="width: 70px;" />
                  <img src="/captche" alt="" style="width: 70px" height="40px"/>
                </div>
              </div>
              <!-- /.col -->
              <div class="col-4">
                <button type="submit" class="btn btn-primary btn-block">
                  登录
                </button>
              </div>
              <!-- /.col -->
            </div>
          </form>
        </div>
        <!-- /.login-card-body -->
      </div>
    </div>
    <!-- /.login-box -->

    <!-- jQuery -->
    <!-- <script src="../../plugins/jquery/jquery.min.js"></script> -->
    <!-- Bootstrap 4 -->
    <!-- <script src="../../plugins/bootstrap/js/bootstrap.bundle.min.js"></script> -->
    <!-- AdminLTE App -->
    <!-- <script src="../../dist/js/adminlte.min.js"></script> -->
  </body>
</html>
